export default [
    {

        path: '/device',
        name: 'device',
        meta: {
            title: '设备管理',
            icon: 'hdd-outlined'
        },
        redirect: '/device/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/device/list',
                name: 'device-list',
                meta: {
                    title: '设备管理',
                    icon: 'hdd-outlined',
                    keepAlive: true,
                },
                component: () => import('@/views/device/list.vue'),
            },
            {
                path: '/device/edit',
                name: 'device-edit',
                meta: {
                    title: '编辑套餐',
                    toRoute: 'device-list'
                },
                hidden: true,
                component: () => import('@/views/device/edit.vue'),
            },
            {
                path: '/device/detail',
                name: 'device-detail',
                meta: {
                    title: '设备详情',
                    toRoute: 'device-list'
                },
                hidden: true,
                component: () => import('@/views/device/detail.vue'),
            },
        ]
    }


];
